package com.lufei4.chestnut.network;

import io.reactivex.Flowable;

public class MainModel implements MainContract.Model{
    @Override
    public Flowable<BaseObjectBean<LoginBean>> login(String username, String password) {
        return RetrofitClient.getInstance().getApiService().login(username,password);
    }
}
